#ifndef CLIENT_H
#define CLIENT_H

#include<QObject>
#include<QTcpSocket>

class Client : public QTcpSocket{

    Q_OBJECT

public:
    Client(QObject *parent = 0);
    ~Client();

signals:

    void updateServer(QString);
    void disconnect(int);
private slots:
    void dataReceive();
    void slotdisconnect();
};


#endif // CLIENT_H
